//
//  GQMVCell.m
//  TingMusic
//
//  Created by sunny on 16/4/21.
//  Copyright © 2016年 sunny. All rights reserved.
//

#import "GQMVCell.h"
#import "GQMvListItem.h"

@interface GQMVCell ()
@property (weak, nonatomic) IBOutlet UIImageView *thumbnailImageView;
@property (weak, nonatomic) IBOutlet UILabel *authorLabel;
@property (weak, nonatomic) IBOutlet UILabel *title_label;

@end

@implementation GQMVCell

- (void)setMvListItem:(GQMvListItem *)mvListItem
{
    _mvListItem = mvListItem;
    [self.thumbnailImageView sd_setImageWithURL:[NSURL URLWithString:mvListItem.thumbnail]placeholderImage:[UIImage imageNamed:@"default"]];
    self.title_label.text = mvListItem.title;
    self.authorLabel.text = mvListItem.artist;
    
}

@end
